﻿<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%
	String basePath = request.getContextPath();
%>
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
	</head>
	<body class="fullbody">
		<div class="context">
			<div class="position">
				<div class="tposi">
					当前位置：
					<a href="<%=request.getContextPath()%>/infopub/pubmain?menuid=1" class="linkstyle">首页</a>
					&nbsp;&gt;&gt;&nbsp;
					<a href="<%=request.getContextPath()%>/sourcing/projlist?menuid=2" class="linkstyle">我的投标\谈判\询价</a>
					&nbsp;&gt;&gt;&nbsp;
					<span class="curposition">进行中的项目</span>
				</div>
			</div>
			<div class="margin8">
			</div>
			<div class="subpage_title">
				<div class="title_index">
					<img src="<%=basePath%>/images/common/dot03.gif" alt="" border="0" />
					&nbsp;进行中的项目（${BIDDING_PROJ_COUNT}）
				</div>
				<div class="rollback">
					<a href="<%=request.getContextPath()%>/sourcing/projlist"?menuid=2 class="linkstyle">&lt;&lt;&nbsp;返回我的投标\谈判\询价</a>
				</div>
			</div>
			<div class="margin20">
			</div>
			<div class="subpage_bidlist">
				<form id="filterform" name="filterform" action="<%=basePath%>/sourcing/biddingprojfilter?menuid=21" method="post">
				<div class="subpage_search">
					<table>
						<tr>
							<td valign="middle">
								<b>项目搜索：</b>
							</td>
							<td valign="middle">
								<input id="searchtext" name="searchtext" type="text" value="${PROJ_FILTER_TXT}" class="subpage_searchtext" onfocus="this.select();" />
							</td>
							<td valign="middle">
								&nbsp;
								<input type="submit" value="搜索" class="buttonok" onclick="" />
							</td>
							<td>
								
							</td>
						</tr>
					</table>
				</div>
				</form>
				<div class="margin20">
				</div>
				<div>
					<table border="0" cellpadding="0" cellspacing="0"
						class="subpage_table1" align="center">
						<tr>
							<th align="center">
								项目编号
							</th>
							<th align="center">
								项目名称
							</th>
							<th align="center">
								项目类型
							</th>
							<th align="center">
								发起日期
							</th>
							
						</tr>
						<form name="biddingprojlist" id="biddingprojlist" action="" method="get">
							<script type="text/javascript">
								function getProjExecInfo(pk_pur_project){
									document.getElementById("pk_pur_project").value = pk_pur_project;
									document.biddingprojlist.action = "<%=request.getContextPath()%>/sourcing/biddingprojlist/projexec";
									document.biddingprojlist.submit();
								}
							</script>
							<input type="hidden" id="pk_pur_project" name="pk_pur_project" />
							<c:if test="${BIDDING_PROJ_INFO != null}">
								<c:forEach items="${BIDDING_PROJ_INFO}" var="proj">
									<tr onclick="getProjExecInfo('${proj.pk_pur_project}')">
										<td align="center">
											<c:out value="${proj.billno}"/>
										</td>
										<td align="center">
											<c:out value="${proj.project_name}"/>
										</td>
										<td align="center">
											<c:out value="${proj.sugg_pur_method}"/>
										</td>
										<td align="center">
											<c:out value="${proj.begin_exec_date}"/>
										</td>
									</tr>
								</c:forEach>
							</c:if>
						</form>
					</table>
				</div>
			</div>
		</div>
		<script language="javascript">
		</script>
	</body>
</html>
